<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $uid 
 * @property int $main_uid 
 * @property int $code_id 渠道码ID
 * @property int $robot_id 添加机器人ID
 * @property int $contact_id 客户ID
 * @property int $is_remain 是否留存
 * @property int $is_new 是否为新客户（0 = 否，1 = 是）
 * @property string $created_at 
 */
class ChChannelCodeRecord extends MineModel
{
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_channel_code_record';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'main_uid', 'code_id', 'robot_id', 'contact_id', 'is_remain', 'is_new', 'created_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'main_uid' => 'integer', 'code_id' => 'integer', 'robot_id' => 'integer', 'contact_id' => 'integer', 'is_remain' => 'integer', 'is_new' => 'integer'];
}
